{% extends "base.html" %}

{% block Content %}

<h3>{{ title }}</h3>
<form method="post">
    {% csrf_token %}
    <table>
        {{ form.as_table }}
    </table>
    <input
        value="Сохранить"
        type="submit">
    <input
        value="Отменить"
        type="button"
        onclick="location.href='{% url "index" %}'">
</form>

{% endblock %}